#ifndef PAINTAREA_H
#define PAINTAREA_H

#include <QWidget>
#include <QPoint>
#include <QPainter>
#include <QMouseEvent>
#include "imagedata.h"
#include "paintmauveimagethread.h"
#include "mauvedata.h"

class PaintArea : public QWidget
{
    Q_OBJECT
public:
    explicit PaintArea(QImage ima, QWidget *parent = 0);
    
signals:
    
public slots:

protected:
    void paintEvent(QPaintEvent *);

private:
    MauveData mda;
    QPainter painter;
    QImage image;
};

#endif // PAINTAREA_H
